//
// Created by steven on 2017/3/9.
// Copyright (c) 2017 steven. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GMDataController.h"
#import "GMComboRecord.h"
#import "GMOrderRecord.h"

@interface GMOrderDataController : GMDataController

// combos
@property (nonatomic, strong)GMComboRecord *comboRecord;
@property (nonatomic, strong)GMOrderRecord *orderRecord;

// Get all combos
- (void)requestCombosWithParams:(NSDictionary *)params callback:(GMCompletionCallback)callback;

// Get all orders
- (void)requestOrdersWithParams:(NSDictionary *)params callback:(GMCompletionCallback)callback;

// Buy comobos
- (void)buyComboWithParams:(NSDictionary *)params callback:(GMCompletionCallback)callback;

// Verify with server after paid
- (void)verifyWithParams:(NSDictionary *)params callback:(GMCompletionCallback)callback;

@end